home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HyperHackers.cpt
/
Hyper-Hackers Queue 1.0
/
card_13762.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
804b
|
36 lines
-- card: 13762 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 3797
-- name:
-- part contents for background part 1
----- text -----
From: Chuq Von Rospach <chuq@sun.com>
Date: Fri, 8 Jan 88 9:00 PST
There is a message you can trap on called CloseField. during data entry,
then, you can add a script to the field, card, or stack that does
something like:
on CloseField
if (field < 0 || field > 23) then
answer "field not within range" with "OK"
field = emtpy
endif
end CloseField
This has a problem in that it doesn't force them to correct the answer,
although you can then trap for empty fields on a closeCard and and force
them to fix the card before allowing them to leave.
chuq
-- part contents for background part 45
----- text -----
Re: Input Validation